import request from '@/utils/request'
// -------------咨询------------

//咨询类型分页查询 /work/consultType/list
export const getConsultTypeListApi = (params) =>{
    return request({
        url:'/work/consultType/list',
        method:'get',
        params
    })
}

//咨询类型分页查询 /work/projectType/findProjectTypeList
export const getFindProjectTypeListApi = (params) =>{
    return request({
        url:'/work/projectType/findProjectTypeList',
        method:'get',
        params
    })
}

// 显示状态是开启的咨询类型 咨询类型分页查询 /work/consultType/findConsultTypeList
export const getFindConsultTypeListApi = (params) =>{
    return request({
        url:'/work/consultType/findConsultTypeList',
        method:'get',
        params
    })
}

//新增咨询内容方式
export const addConsultTypeListApi = (data) =>{
    return request({
        url:'/doc/consult/add',
        method:'post',
        data
    })
}

//咨询专家等级查询 /work/consultType/list
export const getpriceCommissionListApi = (params) =>{
    return request({
        url:'/financial/orderCommission/isExistence',
        method:'get',
        params
    })
}
//支付账号查询
export const getCircleAmountListApi = (params) =>{
    return request({
        url:'/service/circle/selectCircleAmount',
        method:'get',
        params
    })
}
